/**
 * Created on Apr 22, 2007
 */
package bsh.commands;

import x.java.io.File;
import x.java.lang.System;
import bsh.CallStack;
import bsh.Interpreter;
/**
 * @author qiangli
 * 
 */
public class df {

	public static String usage() {
		return "usage: df()";
	}

	public static void invoke(Interpreter env, CallStack callstack) {
		try {
			File mounts = new File("/proc/mounts");
			env.println(mounts.getContent());
		} catch (Exception e) {
			System.out().println(e);
		}
	}
}